home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / Apple Guide / Engineering / APISample / APISampleMPW / TApplication / TApplicationCommon.h < prev   
Encoding:
C/C++ Source or Header  |  1994-05-26  |  1.3 KB  |  47 lines  |  [TEXT/MPS ]

  1. /*------------------------------------------------------------------------------
  2. #
  3. #    Apple Macintosh Developer Technical Support
  4. #
  5. #    MultiFinder-Aware Simple Application Framework
  6. #
  7. #    TApplicationCommon.h    -    C++ and Rez source
  8. #
  9. #    Copyright © 1991 Apple Computer, Inc.
  10. #    All rights reserved.
  11. #
  12. #    Versions:    
  13. #            1.20                    10/91
  14. #            1.10                     07/89
  15. #            1.00                     04/89
  16. #
  17. #    Components:
  18. #            TApplicationCommon.h    July 9, 1989
  19. #            TApplication.h            July 9, 1989
  20. #            TApplication.cp            July 9, 1989
  21. #            TApplication.r            July 9, 1989
  22. #            TDocument.h                July 9, 1989
  23. #
  24. #    TApplication is a rudimentary application framework
  25. #    for C++. The applications CPlusShapesApp and CPlusTESample
  26. #    are built using TApplication.
  27. #
  28. ------------------------------------------------------------------------------*/
  29.  
  30. #ifndef TApplicationCommon_Defs
  31. #define TApplicationCommon_Defs
  32.  
  33. /*
  34.     These definitions are shared by Rez and C++. We use #define statements
  35.     instead of constants in this file because Rez doesn't support constants.
  36.  */
  37.  
  38. /* Some constants for resource ID's */
  39. #define kErrStrings    128                /* error string list */
  40. #define    rUserAlert    129                /* user error alert */
  41.  
  42. /* The following are indicies into our error STR# resource. */
  43. #define    eWrongMachine            1
  44. #define    eSmallSize                2
  45.  
  46. #endif TApplicationCommon_Defs
  47.